OPC Studio User's Guide and Reference
Equals(Object,List<String>) Method



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib Namespace > Object2 Class > Equals Method : Equals(Object,List<String>) Method

The value of this parameter can be null (Nothing in Visual Basic).

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Determines whether the specified System.Object is equal to the current object, and returns a list with annotations to the equality comparison process.
Syntax
'Declaration
 
Public Overloads Function Equals( _
   ByVal obj As Object, _
   ByRef annotationList As List(Of String) _
) As Boolean
'Usage
 
Dim instance As Object2
Dim obj As Object
Dim annotationList As List(Of String)
Dim value As Boolean
 
value = instance.Equals(obj, annotationList)
public bool Equals( 
   object obj,
   out List<string> annotationList
)
public:
bool Equals( 
   Object^ obj,
   [Out] List<String^>^ annotationList
) 

Parameters

obj

The value of this parameter can be null (Nothing in Visual Basic).

annotationList

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value cannot be null (Nothing in Visual Basic).

Exceptions
ExceptionDescription
The EqualsAnnotationList is not null, i.e. the annotation is already in progress.
Remarks

When the two objects are not equal, the annotationList determines which element has caused the inequality.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also